TEMPLATE = app
CONFIG += console
CONFIG += link_pkgconfig

SOURCES += CurlBase.c JsonBase.c Mainapp.c Public.c \
    FuncTest.c \
    Thread.c \
    MFile.c
HEADERS += Json.h CurlBase.h Public.h \
    DThread.h \
    ModelBase.h \
    MFile.h
OTHER_FILES += webstudy/compile.sh \
    webstudy/examples/htmltitle.cpp \
    webstudy/examples/asiohiper.cpp \
    webstudy/examples/xmlstream.c \
    webstudy/examples/usercertinmem.c \
    webstudy/examples/url2file.c \
    webstudy/examples/threaded-ssl.c \
    webstudy/examples/synctime.c \
    webstudy/examples/smtp-vrfy.c \
    webstudy/examples/smtp-tls.c \
    webstudy/examples/smtp-ssl.c \
    webstudy/examples/smtp-multi.c \
    webstudy/examples/smtp-mail.c \
    webstudy/examples/smtp-expn.c \
    webstudy/examples/smooth-gtk-thread.c \
    webstudy/examples/simplessl.c \
    webstudy/examples/simplepost.c \
    webstudy/examples/simple.c \
    webstudy/examples/sftpget.c \
    webstudy/examples/sessioninfo.c \
    webstudy/examples/sepheaders.c \
    webstudy/examples/sendrecv.c \
    webstudy/examples/sampleconv.c \
    webstudy/examples/rtsp.c \
    webstudy/examples/resolve.c \
    webstudy/examples/progressfunc.c \
    webstudy/examples/postit2.c \
    webstudy/examples/postinmemory.c \
    webstudy/examples/post-callback.c \
    webstudy/examples/pop3-uidl.c \
    webstudy/examples/pop3-top.c \
    webstudy/examples/pop3-tls.c \
    webstudy/examples/pop3-stat.c \
    webstudy/examples/pop3-ssl.c \
    webstudy/examples/pop3-retr.c \
    webstudy/examples/pop3-noop.c \
    webstudy/examples/pop3-multi.c \
    webstudy/examples/pop3-list.c \
    webstudy/examples/pop3-dele.c \
    webstudy/examples/persistant.c \
    webstudy/examples/opensslthreadlock.c \
    webstudy/examples/multi-uv.c \
    webstudy/examples/multithread.c \
    webstudy/examples/multi-single.c \
    webstudy/examples/multi-post.c \
    webstudy/examples/multi-double.c \
    webstudy/examples/multi-debugcallback.c \
    webstudy/examples/multi-app.c \
    webstudy/examples/imap-tls.c \
    webstudy/examples/imap-store.c \
    webstudy/examples/imap-ssl.c \
    webstudy/examples/imap-search.c \
    webstudy/examples/imap-noop.c \
    webstudy/examples/imap-multi.c \
    webstudy/examples/imap-list.c \
    webstudy/examples/imap-fetch.c \
    webstudy/examples/imap-examine.c \
    webstudy/examples/imap-delete.c \
    webstudy/examples/imap-create.c \
    webstudy/examples/imap-copy.c \
    webstudy/examples/imap-append.c \
    webstudy/examples/https.c \
    webstudy/examples/httpput.c \
    webstudy/examples/http-post.c \
    webstudy/examples/httpcustomheader.c \
    webstudy/examples/htmltidy.c \
    webstudy/examples/href_extractor.c \
    webstudy/examples/hiperfifo.c \
    webstudy/examples/ghiper.c \
    webstudy/examples/getinmemory.c \
    webstudy/examples/getinfo.c \
    webstudy/examples/ftp-wildcard.c \
    webstudy/examples/ftpuploadresume.c \
    webstudy/examples/ftpupload.c \
    webstudy/examples/ftpsget.c \
    webstudy/examples/ftpgetresp.c \
    webstudy/examples/ftpgetinfo.c \
    webstudy/examples/ftpget.c \
    webstudy/examples/fopen.c \
    webstudy/examples/fileupload.c \
    webstudy/examples/externalsocket.c \
    webstudy/examples/evhiperfifo.c \
    webstudy/examples/debug.c \
    webstudy/examples/curlx.c \
    webstudy/examples/curlgtk.c \
    webstudy/examples/cookie_interface.c \
    webstudy/examples/chkspeed.c \
    webstudy/examples/certinfo.c \
    webstudy/examples/cacertinmem.c \
    webstudy/examples/anyauthput.c \
    webstudy/examples/10-at-a-time.c \
    webstudy/threadpool.c \
    webstudy/simple.c \
    webstudy/examples/postit2-formadd.c \
    C_study/VoidStudy.c \
    C_study/threadpool.c \
    C_study/Struct.c \
    C_study/simple.c \
    C_study/second.c \
    C_study/http-post.c \
    C_study/http-json-post.c \
    C_study/first.c \
    C_study/HashTable.c \
    C_study/thread-test.c

PKGCONFIG += json-glib-1.0
LIBS += -lcurl -lpthread
